package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

/**
 * @Name EmployeeService
 * @Author stella
 * @Date 2023-03-01 11:25 AM
 */
public interface EmployeeService {
    //员工登陆
    ResultInfo login(String username, String password);
    //员工列表
    List<Employee> findList(String name);
    //新增员工
    void addNew(Employee e);
    // 回显员工
    Employee findOne(Long id);
    // 修改员工
    void update(Employee e);
}
